<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">


<ui:composition template="/templateMenu.xhtml">
	<ui:define name="tituloPagina">
	</ui:define>
	<ui:define name="principal">
	
			<p:panelGrid columns="2" style="margin-left: 335px; margin-top: 20px;">
			<p:outputLabel value="Login:"></p:outputLabel>
			<p:inputText value="#{usuarioBean.nome}"></p:inputText>
			
			<p:outputLabel value="Senha:"></p:outputLabel>
			<p:password  value="#{usuarioBean.senha}"/>
			
			</p:panelGrid>
<p:commandButton value="Entrar" action="#{usuarioBean.login}" style="margin-left: 447px; margin-top: 20px;" ajax="false" icon="ui-icon-unlocked"></p:commandButton>
	</ui:define>
	<ui:define name="botoes">
		
	</ui:define>
</ui:composition>
</html>